#ifndef WS2812B_H
#define WS2812B_H

#define SIG_1   0xf8
#define SIG_0   0xe0

enum Color
{
    Red,
    Green,
    Blue,
    Yellow,
    Purple,
    Orange,
    Indigo,
    White,
};

void ws2812_Send_Data(void);
void ws2812_AllShutOff(void);
void ws2812_Init(void);
uint32_t ws281x_color(uint8_t red, uint8_t green, uint8_t blue);
void ws2812_AllOpen(uint8_t red, uint8_t green, uint8_t blue);
void ws2812_Roll_on_Color_Ring(uint16_t interval_time);
void Running_water_lamp( uint8_t red, uint8_t green, uint8_t blue, uint16_t interval_time);
void horse_race_lamp(uint16_t interval_time);
void fix_horse_race_lamp(void);

#endif
